package stringjob;

public class ReplaceAll {
    public static void main(String[] args) {
        String line="adasdasd15181das1d5sad132189das";
        line=line.replaceAll("[0-9]+","666");
        System.out.println(line);

        String l="adsasd156dsad84813gt";
        l=l.replaceAll("[0-9]+","666");
        System.out.println(l);

        String i="hnoiuashf1841315dhyh564gv132";
        i=i.replaceAll("[0-9]+","666");
        System.out.println(i);

        String n="dasnig41589dasdgniu8203dasd";
        n=n.replaceAll("[0-9]+","666");
        System.out.println(n);

        String li="dsad8415das1g8dsad";
        li=li.replaceAll("[0-9]+","666");
        System.out.println(li);

    }
}
